package pjwstk.jps.ast.binary;

import pjwstk.jps.ast.Expression;
import pjwstk.jps.ast.IExpression;
import pjwstk.jps.visitor.ASTVisitor;

/**
 * @author s9111_s10304
 *
 */
public class UnionExpression extends BinaryExpression implements IUnionExpression
{	
    public UnionExpression(Expression leftExpr, Expression rightExpr) {
        super(leftExpr, rightExpr);
    }
    
    @Override
    public void accept(ASTVisitor visitor) {
        visitor.visitUnionExpression(this);
    }

    @Override
    public IExpression getLeftExpression() {
        return super.getLeftExpr();
    }

    @Override
    public IExpression getRightExpression() {
        return super.getRightExpr();
    }
}